package com.cc.flyingfish.filter.factories;

import com.cc.flyingfish.filter.HeaderTokenGatewayFilter;
import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

/**
 * @author CHENCHEN
 * @company 北京学佳澳教育科技
 * @create 2023-03-01 14:09
 */
@Component
public class HeaderTokenGatewayFilterFactory extends AbstractGatewayFilterFactory {
    @Override
    public GatewayFilter apply(Object config) {
        return new HeaderTokenGatewayFilter();
    }
}
